if (AMReX_SPACEDIM EQUAL 1)
	add_executable(test_radparticle test_radparticle.cpp ${QuokkaObjSources})

	if(AMReX_GPU_BACKEND MATCHES "CUDA")
			setup_target_for_cuda_compilation(test_radparticle)
	endif(AMReX_GPU_BACKEND MATCHES "CUDA")

	add_test(NAME RadParticle COMMAND test_radparticle ../inputs/RadParticles1D.in ${QuokkaTestParams} WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/tests)
endif()